package com.yanfan.interfaces.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 接口监测对象 ibms_interface_monitoring
 *
 * @author genluo
 * @date 2024-08-27
 */

@Data
public class IbmsInterfaceMonitoring implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * id
     */
    @Excel(name = "id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 接口名
     */
    @Excel(name = "接口名")
    private String interfaceName;

    /**
     * 请求路径
     */
    @Excel(name = "请求路径")
    private String requestUrl;

    /**
     * 请求类型
     */
    @Excel(name = "请求类型")
    private String requestType;

    /**
     * 请求体
     */
    @Excel(name = "请求体")
    private String requestBody;

    /**
     * 请求头
     */
    @Excel(name = "请求头")
    private String requestHead;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ipAddr;

    /**
     * 端口号
     */
    @Excel(name = "端口号")
    private String port;

    /**
     * 请求状态
     */
    @Excel(name = "请求状态")
    private String status;

    /**
     * 返回数据
     */
    @Excel(name = "返回数据")
    private String returnData;

    /**
     * 调用时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "调用时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date requestTime;

    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新日期" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;


}
